package com.microlecture.mapper;

import com.microlecture.entity.ShopCart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopCartMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(ShopCart record);

    ShopCart selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShopCart record);

    List<ShopCart> selectByCondition(@Param("userid") Integer userid, @Param("cookbookid") Integer cookbookid);

}